<?php

namespace Payment\Charge\WNFPay;

use Payment\Common\WnfConfig;
use Payment\Common\WNFpay\Data\Charge\ChargeData;
use Payment\Common\WNFpay\WNFBaseStrategy;

class WNFCharge extends WNFBaseStrategy
{
    /**
     * 获取支付对应的数据完成类
     *
     * @return BaseData
     */
    public function getBuildDataClass(){
        // TODO: Implement getBuildDataClass() method.
        return ChargeData::class;
    }

    protected function getReqUrl($url = null){
        return parent::getReqUrl($url??WnfConfig::PAY_URL); // TODO: Change the autogenerated stub
    }
}